@import "lib-variable";
@import "lib-mixins";

.IndexProduct {
  .reset-ul();
  width: 230px;
  height: 500px;
  border: @column-border;
  margin: -1px;
  position: relative;
}

.IndexProduct-item {
  font-size: 14px;
  line-height: 35px;
  padding-left: 10px;
  border: @column-border;
  margin: -1px;
}

.IndexProduct-item--active {
  color: #fff;
  background-color: @site-primary-color;
  > .IndexProduct-itemContent {
    display: block;
  }
}

.IndexProduct-itemContent {
  display: none;
  position: absolute;
  width: 700px;
  top: 0;
  left: 230px;
  color: #000;
}

.IndexProduct-product {
  width: 140px;
  height: 150px;
  padding: 10px;
  margin: 5px;
  float: left;
  text-align: center;
  border: @column-border;
  &:hover {
    box-shadow: 0px 5px 15px 0px rgba(45, 50, 55, 0.2);
  }
}

.IndexProduct-productImg {
}

.IndexProduct-productCaption {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
